{literal}
<style type="text/css">
    .pres {
        font-family: Times New Roman, serif;
        font-size: 12pt;        
    }
    .pres_header {      
        text-align: center;
        text-transform: uppercase;
        font-size: 20pt;
        font-weight: bold;
        margin: 5px 0 5px 0;        
    }
    .pres_patient_row {
        height: 25px;
        line-height: 25px;
        text-align: left;   
    }
    
    .pres_label {
        float: left;
    }
    
    .pres_value {
        float: left;        
    }
</style>
{/literal}


<div id="maincontainer2" class="pres" style="width: 520px; margin: 0 0 0 10px;" align="center">
    <div class='pageHeader' style="width: 290px; float: left; text-align: center; font-style: italic;">
        <span>{$hospitalInfo.name}</span>       
        <span>{$hospitalInfo.address}</span>        
        <span>{$hospitalInfo.tel}</span>
    </div>
    
    <div style="text-align: right;float: right; margin-right: 30px;">
        <span style="text-align: center; font-weight: bold;">Số HS: </span>
        <span style="text-align: center; font-weight: bold; font-size: 1.1em;">{$patientObj->get('patient_code')}</span>
    </div>
    <div style="clear: both;"></div>
    
    <div class='pres_header'>
        phiếu đo điện não
    </div>
    
    
    <div class="pres_patient_row">
        <div class="pres_label" style="width: 60px;">Họ tên:</div>
        <div class="pres_value" style="width: 300px; font-weight: bold; text-transform: uppercase;">{$person->getName()}</div>
        
        <div class="pres_label" style="width: 40px;">Tuổi:</div>
        <div class="pres_value" style="width: 20px; font-weight: bold; text-align: center;">{$person->getAge()}</div>
        <div class="pres_value" style="width: 50px; font-weight: bold; text-align: center;">
            {if $person->getGender()=="male" } Nam {elseif $person->getGender()=="female"} Nữ {/if}
        </div>      
    </div>
    <div style="clear: both;"></div>
   
    <div class="pres_patient_row">
        <div class="pres_label" style="width: 60px;">Địa chỉ:</div>
        <div class="pres_value" style="width: 420px;">{$person->getAddress()}</div>
    </div>
    <div style="clear: both;"></div>
    
    <div class="pres_patient_row">
        <div class="pres_label" style="width: 90px; font-weight: bold; text-decoration: underline;">Chẩn đoán:</div>
        <div class="pres_value" style="width: 390px;">{$diagnosis|nl2br}&nbsp;</div>                                                   
    </div>
            
    <div style="clear: both;"></div>
    
    <div style="height: 350px; text-align: left; margin-top: 10px;">
        <div class="pres_label" style="width: 90px; font-weight: bold; text-decoration: underline;">Yêu cầu:</div>
        <div class="pres_value" style="width: 390px;">{$request|nl2br}&nbsp;</div>
    </div>                   
    <div style="width: 40%; text-align: center; float: right;">
        <div style="width: 100%; text-align: center;">Ngày {$date}</div>     
        <div style="width: 100%; text-align: center; height: 70px;"><span>Bác sĩ điều trị</span></div>
        <div style="width: 100%; text-align: center;"><span style="text-transform: uppercase; font-style: italic;">BS. {$doctor}</span></div>        
    </div>  
    <div class="pres_patient_row" style="width: 100%;">
        <div class="pres_label" style="margin-top: 5px;;border-top: 1px solid #000; font-style: italic; width: 100%;">* Khám lại xin mang theo đơn này</div>
    </div>          
</div>